CFLAG= -std=c++14 -I ../../../build/release-install-cpp11/include/
LFLAG= -L ../../../build/release-install-cpp11/lib  -lmuduo_net -lmuduo_base -pthread -ljsoncpp
all:server sub_client publish_client
publish_client:publish_client.cc 
	g++  $(CFLAG) $^ -g -o  $@ $(LFLAG)
server:server.cc
	g++  $(CFLAG) $^ -g -o  $@ $(LFLAG)
sub_client:subsribe.cc
	g++  $(CFLAG) $^ -g -o $@ $(LFLAG)
.PHONY:
clean:
	rm server sub_client publish_client -r 